﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Deeper.Engine
{
	public static class TagFactory
	{
		public static Tag CreateTag(Document doc, string tagName)
		{
			switch (tagName.ToLower())
			{
				case "foreach":
					return new ForeachTag(doc);
					//break;
				default:
					return null;
					//break;
			}
		}
	}
}
